package com.etoak.entity;

import java.util.List;

/**
 * 树形数据实体接口
 * @Author zhixuebin
 * @Date 2022/5/16
 * @param <E>
 */
public interface TreeEntity<E> {

    String getId();

    String getParentId();

    void setChildren(List<E> children);

}
